<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="../head.jsp">
	<jsp:param value="签约管理" name="title" />
</jsp:include>
</head>
<body>
	<div class="container">
			<div class="row">
				<div id="content" class="col-lg-12">
					<div class="dao">
						<h4>签约管理</h4>
					</div>
					<div class="row">
						<div class="col-md-12">
							<!-- BOX -->
							<div class="box border blue">
								<div class="box-title">
									<h4>签约学员列表</h4>
								<div class="ui fluid category search" style="float: right;">
											<div class="ui icon input">
												<form action="custom">
													<input class="prompt" type="text" name="search"
														style="height: 25px" placeholder="请输入关键字，回车查询"
														value="${param.search }">
												</form>
											</div>
										</div>
									</div>
								<div class="box-body center">
									<table id="datatable2" cellpadding="0" cellspacing="0" border="0" class="datatable table table-striped table-bordered table-hover">
											<thead >
											<tr>
											<th>姓名</th>
											<th>性别</th>
											<th>住址</th>
											<th>电话</th>
											<th>学历</th>
											<th>操作</th>
											</tr>
										</thead>
										<tbody>
											
									<c:forEach items="${custList }" var="custList">
										<tr class="gradeX" >
											<td style="display:none">
												<input class="item-check input" type="hidden" value="${custList.cust_id }"><label></label>
											</td>
											<td><a href="common/info?id=${custList.cust_id}">${custList.cust_name}</a>
											</td>
											<td>${custList.cust_gender }</td>
											<td>${custList.cust_address }</td>
											<td>${custList.cust_telphone }</td>
											<td>${custList.degree_name }</td>
											<td>
												<a href="uploadSign"><i></i> 上传凭证</a>&nbsp;&nbsp;
												<a href="uploadSign"><i></i> 查看凭证</a>&nbsp;&nbsp;
											</td>
										</tr>
									</c:forEach>
									<c:if test="${empty custList}">
										<tr>
											<td style="text-align: center;" colspan="8">暂无记录</td>
										</tr>
									</c:if>
								</tbody>
							</table>
									<c:if test="${totalPage > 1 }">
										<a
											<c:if test="${page!=1}">href="student/sign?page=1${queryString}"</c:if>
											class="${page == 1?'disable':''}">首页</a>
										<a
											<c:if test="${page!=1}">href="student/sign?page=${page-1}${queryString}"</c:if>
											class="${page == 1?'disable':''}">上一页</a>
										<a
											<c:if test="${page!=totalPage}">href="student/sign?page=${page+1 }${queryString}"</c:if>
											class="${page == totalPage?'disable':''}">下一页</a>
										<a
											<c:if test="${page!=totalPage}">href="student/sign?page=${totalPage }${queryString}"</c:if>
											class="${page == totalPage?'disable':''}">最后一页</a>
										<span style="float: right"> ${page}/${ totalPage} </span>
									</c:if>
								</div>
							</div>
						</div>
					</div>
				</div>
</body>
</html>